<!doctype>
<html>
	<head>
		<title>联系资料</title>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
		<link rel="stylesheet" href="__PUBLIC__/gold/rem_zy/css/style.css">
		<link rel="stylesheet" href="__PUBLIC__/gold/rem_zy/css/userCenter.css">
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/gold/css/public.css"/>
		<script src="__PUBLIC__/gold/rem_zy/js/jquery.min.js"></script>

		<script src="__PUBLIC__/layer/layer.js"></script>
		<script type="text/javascript" src="__PUBLIC__/gold/rem_zy/js/index.js"></script>
		<script type="text/javascript" src="__PUBLIC__/assets/js/jquery.form.js"></script>

		<script>
            $(function() {

                $('#memberContact').ajaxForm({
                    beforeSubmit: checkForm, // 此方法主要是提交前执行的方法，根据需要设置
                    success: complete, // 这是提交后的方法
                    dataType: 'json'
                });

                function checkForm(){

				}

                function complete(data){
				
                    if(data.status==1){
                        layer.alert(data.info, {icon: 6}, function(index){
                            layer.close(index);
                            window.location.href=data.url;
                        });
                    }else{
                        layer.alert(data.info, {icon: 6}, function(index){
                            layer.close(index);
                        });
                        return false;
                    }
                }

            })
		</script>
	</head>
	<body>
<include file='Common:Member:list' />
		<form method="post" id="memberContact" action="{:U('memberContact')}">
		<div id="changeThings">
			<h1 class="guanli">联系资料</h1>
			
			<div class="iptStyle">
				<span class="allType l">手机</span>
				<input type="text" name="telphone" id="telphone" class="iptTwo" value="{$memberData.member_telphone|default=''}" placeholder="请输入手机号">
			</div>
			<div class="iptStyle">
				<span class="allType l">微信</span>
				<input type="text" name="wechat" id="wechat" class="iptTwo" value="{$memberData.member_wechat|default=''}" placeholder="请输入微信">
			</div>
			<div class="iptStyle">
				<span class="allType l">QQ</span>
				<input type="text" name="qq" id="qq" class="iptTwo" value="{$memberData.member_qq|default=''}" placeholder="请输入QQ">
			</div>
			
			<button>提交</button>
			
			
			<div style="width: 100%, height:1rem"></div>
		</div>
		</form>
	</body>	
</html>